<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@ taglib prefix="s" uri="/struts-tags" %>
<h2>${examPeriod.periodName}考核项目明细分值</h2>
<table class="display" id="example">
    <thead>
    <tr>
        <th><strong>定性考核分值</strong></th>
        <th><strong>定性考核</strong>占比</th>
        <th>定量考核得分</th>
        <th>定量考核占比</th>
        <th>总分</th>
    </tr>
    </thead>
    <tbody>
    <s:if test="#request.examStatisticsItemPojos==null || #request.examStatisticsItemPojos.size==0">
        <tr class="gradeX">
            <td colspan="5">暂无数据</td>
        </tr>
    </s:if>
    <s:else>
        <s:iterator value="#request.examStatisticsItemPojos" var="item" status="str">
            <s:if test="#sta.even">
                <tr class="gradeA">
            </s:if><s:else><tr class="gradeC"></s:else>
            <td style="text-align:center">${item.qualscore}</td>
            <td style="text-align:center">
                <div id="progress1" class="progress"><span
                        style="width: ${item.percentageQualitative}%;"><b>${item.percentageQualitative}%</b></span>
                </div>
            </td>
            <td style="text-align:center">${item.quanscore}</td>
            <td style="text-align:center">
                <div id="progress11" class="progress"><span
                        style="width: ${item.percentageQuantitative}%;"><b>${item.percentageQuantitative}%</b></span>
                </div>
            </td>
            <td style="text-align:center">${item.score}</td>
            </tr>
        </s:iterator>
    </s:else>
    </tbody>
</table>
